/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.wechatmsg.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

import java.util.List;

/**
 * 微信消息Entity
 * @author 陈维乾
 * @version 2018-05-07
 */
public class WeixinMsg extends DataEntity<WeixinMsg> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String content;		// 内容
	private String[] recevier;	//接收者
	private String receviers;

	public WeixinMsg() {
		super();
	}

	public WeixinMsg(String id){
		super(id);
	}

	@Length(min=1, max=255, message="标题长度必须介于 1 和 255 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String[] getRecevier() {
		return recevier;
	}

	public void setRecevier(String[] recevier) {
		this.recevier = recevier;
	}

	public String getReceviers() {
		return receviers;
	}

	public void setReceviers(String receviers) {
		this.receviers = receviers;
	}
}